﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DAL
{
    public class SanPhamDAL
    {
        string maSanPham;        
        string tenSanPham;        
        private string hinhAnh;
        string maLoaiSanPham;              
        string maNhaSanXuat;        
        float giaMua;
        float giaBan;
        string thongSoKyThuat;
        string thongTinMoTa;        
        int soLuongTon;
        bool tinhTrang;        
        bool sanPhamMoi;
        float phanTramKM;

        public string MaSanPham
        {
            get { return maSanPham; }
            set { maSanPham = value; }
        }

        public string TenSanPham
        {
            get { return tenSanPham; }
            set { tenSanPham = value; }
        }

        public string HinhAnh
        {
            get { return hinhAnh; }
            set { hinhAnh = value; }
        }

        public string MaLoaiSanPham
        {
            get { return maLoaiSanPham; }
            set { maLoaiSanPham = value; }
        } 

        public string MaNhaSanXuat
        {
            get { return maNhaSanXuat; }
            set { maNhaSanXuat = value; }
        }

        public float GiaMua
        {
            get { return giaMua; }
            set { giaMua = value; }
        }

        public float GiaBan
        {
            get { return giaBan; }
            set { giaBan = value; }
        }

        public string ThongSoKyThuat
        {
            get { return thongSoKyThuat; }
            set { thongSoKyThuat = value; }
        }

        public string ThongTinMoTa
        {
            get { return thongTinMoTa; }
            set { thongTinMoTa = value; }
        }

        public int SoLuongTon
        {
            get { return soLuongTon; }
            set { soLuongTon = value; }
        }

        public bool TinhTrang
        {
            get { return tinhTrang; }
            set { tinhTrang = value; }
        }        

        public bool SanPhamMoi
        {
            get { return sanPhamMoi; }
            set { sanPhamMoi = value; }
        }

        public float PhanTramKM
        {
            get { return phanTramKM; }
            set { phanTramKM = value; }
        }
    }
}